<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="Restoring Files (Applicable to 1.6.0 and Later Versions)">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="openstack_00050.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="30-OceanProtect Appliance 1.5.0-1.6.0 Help Center">
  <meta name="DC.Publisher" content="20241029">
  <meta name="prodname" content="csbs">
  <meta name="documenttype" content="usermanual">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="openstack_000541">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>Restoring Files (Applicable to 1.6.0 and Later Versions)</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="openstack_000541"></a><a name="openstack_000541"></a>
  <h1 class="topictitle1">Restoring Files (Applicable to 1.6.0 and Later Versions)</h1>
  <div>
   <p>This section describes how to restore files on a VM by using the file-level restoration function.</p>
   <div class="section">
    <h4 class="sectiontitle">Prerequisites</h4>
    <p>Restoration to the original location is only supported when the original location resource corresponding to the copy exists.</p>
   </div>
   <div class="section">
    <h4 class="sectiontitle">Procedure</h4>
    <ol>
     <li><span>Choose <span class="uicontrol" id="openstack_000541__openstack_00049_en-us_topic_0000001839142377_uicontrol1717665184916"><b><span id="openstack_000541__openstack_00049_en-us_topic_0000001839142377_text61762584912"><strong>Explore</strong></span> &gt; <span id="openstack_000541__openstack_00049_en-us_topic_0000001839142377_text101769504917"><strong>Copy Data</strong></span> &gt; <span id="openstack_000541__openstack_00049_en-us_topic_0000001839142377_text368193113219"><strong>Cloud Platforms</strong></span> &gt; OpenStack</b></span>.</span></li>
     <li><span>Search for copies by resource or copy. This section describes how to search for copies by resource.</span><p></p><p>Click the <strong>Resources</strong> tab, search for the VM to be restored by name, and click the VM name.</p> <p></p></li>
     <li><span>Click the <span class="uicontrol"><b><span>Copy Data</span></b></span> tab and select the year, month, and day in sequence to find the copy.</span><p></p><p>If <span><img src="en-us_image_0000001851607208.png"></span> is displayed below a month or day, a copy is generated in the month or on the day.</p> <p></p></li>
     <li><span>Find the copy used for restoration and click <span class="uicontrol"><b><span><strong>Copy Time</strong></span></b></span>.</span></li>
     <li><span>On the copy information page, choose <span class="uicontrol"><b><span><strong>Operation</strong></span> &gt; <span><strong>File-level Restoration</strong></span></b></span>. Alternatively, on the <strong>Resources</strong> tab page, locate the row that contains the target copy and choose <span class="uicontrol"><b><span><strong>More</strong></span> &gt; <span><strong>File-level Restoration</strong></span></b></span>.</span><p></p>
      <div class="note">
       <img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span>
       <div class="notebody">
        <ul>
         <li>File-level restoration is not supported for linked files.</li>
         <li>For 1.5.0, the index status of the copy used for file-level restoration must be <span class="uicontrol"><b><span><strong>Indexed</strong></span></b></span>. For 1.6.0 and later versions, copies whose index status is <span><strong>Not indexed</strong></span> can also be used for file-level restoration.</li>
        </ul>
       </div>
      </div> <p></p></li>
     <li><span>On the displayed page, click the <span class="wintitle"><b><span><strong>File</strong></span></b></span> tab.</span></li>
     <li><span>Select the files to be restored and click <span class="uicontrol" id="openstack_000541__vmware_gud_0060_0_uicontrol4286263213"><b>Restore File</b></span>.</span><p></p>
      <ul id="openstack_000541__vmware_gud_0060_0_ul1521452811317">
       <li id="openstack_000541__vmware_gud_0060_0_li8386311313">For 1.5.0, select the files to be restored from the directory tree.</li>
       <li id="openstack_000541__vmware_gud_0060_0_li12142286316">For 1.6.0 and later versions, set <strong id="openstack_000541__vmware_gud_0060_0_b175942210539">File Obtaining Mode</strong>, which can be <strong id="openstack_000541__vmware_gud_0060_0_b29462035125211">Select file paths from the directory tree</strong> or <strong id="openstack_000541__vmware_gud_0060_0_b1211515508528">Enter file paths</strong>.
        <div class="note" id="openstack_000541__vmware_gud_0060_0_note1195634711290">
         <img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span>
         <div class="notebody">
          <ul id="openstack_000541__vmware_gud_0060_0_ul14956124712297">
           <li id="openstack_000541__vmware_gud_0060_0_li1095674772911">If the copy contains too many files, the system may time out, preventing you from selecting files to be restored from the directory tree. Therefore, you are advised to enter the paths of files to be restored.</li>
           <li id="openstack_000541__vmware_gud_0060_0_li19956104762918">When entering a file path, enter a complete file path, for example, <strong id="openstack_000541__vmware_gud_0060_0_b745510458333">/opt/abc/efg.txt</strong> or <strong id="openstack_000541__vmware_gud_0060_0_b186591048123315">C:\abc\efg.txt</strong>. If you enter a folder path, for example, <strong id="openstack_000541__vmware_gud_0060_0_b15108423133414">/opt/abc</strong> or <strong id="openstack_000541__vmware_gud_0060_0_b13283162543410">C:\abc</strong>, all files in the folder are restored. The file name in the path is case sensitive.</li>
          </ul>
         </div>
        </div></li>
      </ul> <p></p></li>
     <li><span>After selecting the file to be restored, configure the restoration. Restoration to the original or a new location is supported for file-level restoration.</span><p></p><p><a href="#openstack_000541__table1413423417495">Table 1</a> describes the related parameters.</p> <p></p> <p></p>
      <div class="tablenoborder">
       <a name="openstack_000541__table1413423417495"></a><a name="table1413423417495"></a>
       <table cellpadding="4" cellspacing="0" summary="" id="openstack_000541__table1413423417495" frame="border" border="1" rules="all">
        <caption>
         <b>Table 1 </b>File-level restoration parameters
        </caption>
        <colgroup>
         <col style="width:29.9%">
         <col style="width:70.1%">
        </colgroup>
        <thead align="left">
         <tr>
          <th align="left" class="cellrowborder" valign="top" width="29.9%" id="mcps1.3.3.2.8.2.4.2.3.1.1"><p>Parameter</p></th>
          <th align="left" class="cellrowborder" valign="top" width="70.1%" id="mcps1.3.3.2.8.2.4.2.3.1.2"><p>Description</p></th>
         </tr>
        </thead>
        <tbody>
         <tr>
          <td class="cellrowborder" valign="top" width="29.9%" headers="mcps1.3.3.2.8.2.4.2.3.1.1 "><p><span><strong>Restore To</strong></span></p></td>
          <td class="cellrowborder" valign="top" width="70.1%" headers="mcps1.3.3.2.8.2.4.2.3.1.2 "><p>Select the original location or a new location.</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="29.9%" headers="mcps1.3.3.2.8.2.4.2.3.1.1 "><p><span><strong>Compute Location</strong></span></p></td>
          <td class="cellrowborder" valign="top" width="70.1%" headers="mcps1.3.3.2.8.2.4.2.3.1.2 "><p>When the data is restored to the original location, the location of the original compute node is displayed. This parameter is not configurable.</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="29.9%" headers="mcps1.3.3.2.8.2.4.2.3.1.1 "><p><span><strong>Target Location</strong></span></p></td>
          <td class="cellrowborder" valign="top" width="70.1%" headers="mcps1.3.3.2.8.2.4.2.3.1.2 "><p>Location of the VM to which the file is restored.</p>
           <div class="note">
            <span class="notetitle"> NOTE: </span>
            <div class="notebody">
             <p>Ensure that the OS of the target location is the same as that of the VM to be restored.</p>
            </div>
           </div></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="29.9%" headers="mcps1.3.3.2.8.2.4.2.3.1.1 "><p><span><strong>Cloud Server IP Address</strong></span></p></td>
          <td class="cellrowborder" valign="top" width="70.1%" headers="mcps1.3.3.2.8.2.4.2.3.1.2 "><p>Select the IP address of the target VM. For 1.6.0 and later versions, you can manually enter the IP address.</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="29.9%" headers="mcps1.3.3.2.8.2.4.2.3.1.1 "><p><span><strong>Cloud Server Username</strong></span></p></td>
          <td class="cellrowborder" rowspan="2" valign="top" width="70.1%" headers="mcps1.3.3.2.8.2.4.2.3.1.2 ">
           <div class="p">
            During file-level restoration, the target VM needs to verify the login credential of the <span>product</span>. Enter a username and its password for logging in to the target VM.
            <ul>
             <li>Windows OS: The default username is <strong>Administrator</strong>.</li>
             <li>Linux OS: The default username is <strong>root</strong>.</li>
            </ul>
            <div class="note">
             <span class="notetitle"> NOTE: </span>
             <div class="notebody">
              <ul id="openstack_000541__vmware_gud_0060_0_ul871974405518">
               <li id="openstack_000541__vmware_gud_0060_0_li8719444175514">The login user must have the read and write permissions on the directory to which data is to be restored on the target VM.</li>
               <li id="openstack_000541__vmware_gud_0060_0_li231424655513">After the restoration, the access permission on the file is the same as that of the login user.</li>
              </ul>
             </div>
            </div>
           </div></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" headers="mcps1.3.3.2.8.2.4.2.3.1.1 "><p><span><strong>Cloud Server Password</strong></span></p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="29.9%" headers="mcps1.3.3.2.8.2.4.2.3.1.1 "><p><span><strong>OS</strong></span></p></td>
          <td class="cellrowborder" valign="top" width="70.1%" headers="mcps1.3.3.2.8.2.4.2.3.1.2 "><p>Select the OS of the target VM. The options are <strong>Linux</strong> and <strong>Windows</strong>.</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="29.9%" headers="mcps1.3.3.2.8.2.4.2.3.1.1 "><p><span><strong>Overwrite Rule</strong></span></p></td>
          <td class="cellrowborder" valign="top" width="70.1%" headers="mcps1.3.3.2.8.2.4.2.3.1.2 "><p>If files with the same names exist in the restoration path, you can choose to replace or skip existing files.</p>
           <ul>
            <li><strong>Replace existing files</strong></li>
            <li><strong>Skip existing files</strong></li>
            <li><strong>Only replace the files older than the restoration file</strong></li>
           </ul>
           <div class="note">
            <span class="notetitle"> NOTE: </span>
            <div class="notebody">
             <p>If the access to the file with the same name on the target VM is denied, the file fails to be restored during file replacement.</p>
            </div>
           </div></td>
         </tr>
        </tbody>
       </table>
      </div> <p></p></li>
     <li><span>Click <span class="uicontrol"><b><span><strong>Test</strong></span></b></span> and ensure that the network connection between the target VM to be restored and the <span>product</span> is normal.</span></li>
     <li><span>Click <span class="uicontrol"><b><span><strong>OK</strong></span></b></span>.</span></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>Parent topic:</strong> <a href="openstack_00050.html">Restoration</a>
    </div>
   </div>
  </div>
 </body>
</html>